/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package structures.parserStructures;

import structures.tree.ParseTreeNode;

/**
 *
 * @author Vlad
 */
public class ParserOutput {

    public ParseError err;
    public ParseTreeNode tree;

    public ParserOutput(ParseTreeNode tree) {
        this.tree = tree;
        err = ParseError.OK;
    }

    public ParserOutput(ParseError err) {
        this.err = err;
        tree = null;
    }
}
